package cn.sunagy.security.maz.auth.server.module.client.service;

/**
 * @desc：#TODO fill me ！
 * @author：三餘無夢生
 * @date：2018/6/2
 * @time：下午4:34
 */
public interface AuthService {
    String login(String username, String password) throws Exception;
    String login(String code, String encryptedData,String iv) throws Exception;
    String refresh(String oldToken) throws Exception;
    void validate(String token) throws Exception;
    Boolean invalid(String token) throws Exception;
}
